package org.utils.fp.collection;

/**
 *
 * @author gus
 */
public class CollectionUtils
{
    public static <T> void foreach(Iterable<T> collection, Callback<T> callback)
    {
        for (T item : collection)
        {
            callback.invoke(item);
        }
    }
}
